package com.wuda.bean;


import java.util.Date;


public class BookReview {
	private Integer reviewId;
	private Integer userId;
	private Integer bookId;
	/**
	 * 评分
	 */
	private Integer rating;

	private String comment;
	private Date reviewDate;

	private User user;

	public Integer getReviewId() {
		return reviewId;
	}

	public void setReviewId(Integer reviewId) {
		this.reviewId = reviewId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public Integer getRating() {
		return rating;
	}

	public void setRating(Integer rating) {
		this.rating = rating;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Date getReviewDate() {
		return reviewDate;
	}

	public void setReviewDate(Date reviewDate) {
		this.reviewDate = reviewDate;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public String toString() {
		return "BookReview{" +
				"reviewId=" + reviewId +
				", userId=" + userId +
				", bookId=" + bookId +
				", rating=" + rating +
				", comment='" + comment + '\'' +
				", reviewDate=" + reviewDate +
				", user=" + user +
				'}';
	}
}